<%-- 
    Document   : registration
    Created on : Dec 2, 2013, 3:26:14 PM
    Author     : lnngu_000
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Catering.com</title>
        <meta charset="utf-8">
        <%@include file="head.jsp" %>
    </head>
    <body id="page1">
        <!--==============================header=================================-->
        <header>
            <%@include file="menuTop.jsp" %>

        </header>
        <!--==============================content================================-->
        <section id="content">
            <div class="main">

                <div class="wrapper">
                    <%@include file="boxSearch.jsp" %>
                    <article class="column-2">



                        <table style="width: 100%; text-align: center;margin-top: 100px;">
                            <caption style="margin-bottom: 40px;font-size: 20px;">Registration Type</caption>
                            <tr>
                                <td>
                                    <a class="button-1" href="registrationCustomer.jsp">Registration Customer</a> </div>
                                </td>
                                <td>
                                    <a class="button-1" href="registrationCaterer.jsp" >Registration Caterer</a> </div>
                                </td>
                            </tr>
                        </table>
                    </article>
                </div>
            </div>
        </section>
        <!--==============================footer=================================-->
        <footer>
            <div class="main">
                <div class="aligncenter"> <span>Copyright &copy; <a href="#">Domain Name</a> All Rights Reserved</span> Design by <a target="_blank" href="http://www.templatemonster.com/">TemplateMonster.com</a> </div>
            </div>
        </footer>
        <script>
            getcbChild();// mỗi lần Form load thì cho nó chạy cái này để khi đảo lộn vị trí của thằng thành phố thì nó vẫn chạy đúng.
            function getcbChild() {
                var getValue = document.getElementById("Regional").value;
                if (getValue == "South") {
                    document.getElementById("Provinces").innerHTML = '<select name="quanhuyen">'
                            + '<option>quan 7</option>'
                            + '<option>quan 8</option>'
                            + '</select>';
                }
                else if (getValue == "North") {
                    document.getElementById("Provinces").innerHTML = '<select name="quanhuyen">'
                            + '<option >quan 1</option>'
                            + '<option>quan 2</option>'
                            + '<option>quan 3</option>'
                            + '<option>Dong Da</option>'
                            + '<option>Ba Dinh</option>'
                            + '<option>Cau Giay</option></select>';
                }
            }
        </script>
    </body>
</html>
